import http from '../index'

export const getGoodList = async (data: any) => {
  return http({
    url: '/api/products',
    method: 'GET',
    data: data,
  }) // 返回一个Promise对象
}
